import request from '@/utils/request'

// 查询客户绑卡记录列表
export function listCust_bind_card_log(query) {
    return request({
        url: '/bizsys/cust_bind_card_log/list',
        method: 'get',
        params: query
    })
}

// 查询客户绑卡记录详细
export function getCust_bind_card_log(id) {
    return request({
        url: '/bizsys/cust_bind_card_log/' + id,
        method: 'get'
    })
}

// 新增客户绑卡记录
export function addCust_bind_card_log(data) {
    return request({
        url: '/bizsys/cust_bind_card_log',
        method: 'post',
        data: data
    })
}

// 修改客户绑卡记录
export function updateCust_bind_card_log(data) {
    return request({
        url: '/bizsys/cust_bind_card_log',
        method: 'put',
        data: data
    })
}

// 删除客户绑卡记录
export function delCust_bind_card_log(id) {
    return request({
        url: '/bizsys/cust_bind_card_log/' + id,
        method: 'delete'
    })
}

// 导出客户绑卡记录
export function exportCust_bind_card_log(query) {
    return request({
        url: '/bizsys/cust_bind_card_log/export',
        method: 'get',
        params: query
    })
}